{% if cv.publications %}
  <div id="publications" class="entry">
    <header class="entry-header">
      <h3 class="entry-title">Publications</h3>
    </header>

    <div class="entry-content">
      {% for p in cv.publications %}
        {% if p.name %}
          <h4 class="title">
            {% if p.website %}
              <a href="{{ p.website }}">{{ p.name }}</a>
            {% else %}
              {{ p.name }}
            {% endif %}
          </h4>
        {% endif %}
        {% if p.releaseDate %}
          <div class="date">{{ p.releaseDate }}</div>
        {% endif %}
        {% if p.publisher %}
          <h5 class="publisher">{{ p.publisher | prepend: 'Published by ' }}</h5>
        {% endif %}
        {% if p.summary %}
          <div class="summary">{{ p.summary | markdownify }}</div>
        {% endif %}
      {% endfor %}
    </div>
  </div>
{% endif %}